import request from '@/utils/request'

// 获取证书列表
export function getCertificateList() {
  return request({
    url: '/api/certificate/list',
    method: 'get',
  })
}

// 获取证书详情
export function getCertificateDetail(id) {
  return request({
    url: `/api/certificate/detail/${id}`,
    method: 'get',
  })
}
